body{
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

.background{
    background: url("../res/bg1.png");
    background-size: 1236px 600px;
    background-repeat: no-repeat;
    background-position: center;
    height: 80%;
    width: 100%;
    position:absolute;  
    top:10%;
    bottom: 10%;
    background-color: #e93854;
}
.mbackground{
    background: url("../res/bg2.png");
    background-size: 1236px 600px;
    background-repeat: no-repeat;
    background-position: center;
    height: 80%;
    width: 100%;
    position:absolute;  
    top:10%;
    bottom: 10%;
    background-color: #e93854;
}

.box{
    position:absolute;  
    top:10%;
    bottom: 10%;
    left: 68%;
    width: 370px;
    height: 55%;
    background-color: rgb(255, 255, 255);
    padding: 18px 10px;
    transition: all 0.4s;
    border-radius: 5px;
}

.top-tab{
    display: flex;
    /* border: 1px solid navy; */
}
.login, .register{
    cursor: pointer;
    text-align: center;
    font-size: 26px;
    width: 50%;
    margin: 10px;
    transition: all 0.3s;
    /* border: 1px solid navy; */
}
.active{
    color: #e4393c;
    border-bottom: 2px solid #e4393c;
}
.uname, .upwd, .remail, .rcode, .rname, .rpwd{
    display: flex;
    margin: 30px 20px;
}
.upwd{
    margin: 30px 20px 8px 20px;
}
.name, .pwd, .email{
    /* border: 1px solid red; */
    width: 44px;
    height: 40px;
    font-size: 22px;
    border: 1px solid rgb(177, 177, 177);
}
.name{
    position: absolute;
    background: url("../res/name.png") center center;
    background-size: 30px 30px;
    background-repeat: no-repeat;
}
.pwd{
    position: absolute;
    background: url("../res/pwd.png") center center;
    background-size: 30px 30px;
    background-repeat: no-repeat;
}
.email{
    position: absolute;
    background: url("../res/email.png") center center;
    background-size: 30px 30px;
    background-repeat: no-repeat;
}
.rcode{
    position: relative;
}
.code{
    cursor: pointer;
    height: 24px;
    border:  1px solid rgb(177, 177, 177);
    position: absolute;
    color: #e4393c;
    padding: 8px;
    right: 0px;
    font-size: 18px;
    transition: all 0.2s;
}
.name-txt, .pwd-txt, .email-txt{
    font-size: 20px;
    width: 100%;
    height: 30px;
    outline: none;
    padding: 5px 6px 5px 50px;
    border: 1px solid rgb(177, 177, 177);
}
.code-txt{
    font-size: 20px;
    width: 100%;
    height: 30px;
    outline: none;
    padding: 5px 56px 5px 6px;
    border: 1px solid rgb(177, 177, 177);
}

.repwd{
    float: right;
    margin: 0 23px;
    color: rgb(177, 177, 177);
}
.mlogin, .ulogin{
    float: left;
    margin: 0 23px;
    color: rgb(177, 177, 177);
}
.repwd:hover, .mlogin:hover{
    color: #e4393c;
}
.btn-login, .btn-register{
    width: 70%;
    height: 40px;
    color: white;
    background-color: #e93854;
    border: 0;
    font-size: 24px;
    position: absolute;
    bottom: 40px;
    left: 60px;
    right: 60px;
}
